package com.leyou.item.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

/**
 * 商品规格参数组表model
 * @Date 2018/12/15  16:39
 * @Author JIE
 */
@Table(name = "tb_spec_group")
@Data
public class SpecGroup {

    @Id
    @KeySql(useGeneratedKeys = true)
   private Long id;

   private Long cid;

   private String name;

   @Transient
   private List<SpecParam> specParamList;

}
